package com.example.widget_lib.callback;

public interface ScrollSubject {
    /**
     * 增加订阅者
     * @param observer
     */
    public void attach(ScrollObserver observer);

    /**
     * 删除订阅者
     * @param observer
     */
    public void detach(ScrollObserver observer);

    /**
     * notify
     * @param currScrollX
     * @param currScrollY
     */
    public void notify(int currScrollX, int currScrollY);
}
